package com.yxb.consumer.feign.config;

import feign.Logger;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @PackgeName: com.yxb.consumer.feign.config
 * @ClassName: FeignConfig
 * @Author: CongR
 * Date: 2021/3/23 13:53
 * project name: springcloud
 * @Version:
 * @Description:
 */
@Configuration
public class FeignConfig {

    @Bean
    Logger.Level feignLoggerLevel() {
//        记录所有请求和相应的明细
        return Logger.Level.FULL;
    }

}
